package com.ruoyi.yijing.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打赏的礼物对象 yj_da_shang
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class YjDaShang extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long shangId;

    /** 打赏名称 */
    @Excel(name = "打赏名称")
    private String name;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 状态(1有效，0无效) */
    @Excel(name = "状态(1有效，0无效)")
    private String dataStatus;

    //类型
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setShangId(Long shangId)
    {
        this.shangId = shangId;
    }

    public Long getShangId() 
    {
        return shangId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDataStatus(String dataStatus) 
    {
        this.dataStatus = dataStatus;
    }

    public String getDataStatus() 
    {
        return dataStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shangId", getShangId())
            .append("name", getName())
            .append("image", getImage())
            .append("sort", getSort())
            .append("price", getPrice())
            .append("dataStatus", getDataStatus())
            .toString();
    }
}
